package com.springboot.ww.platform.pd.lms.api;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2024-08-03 16:48
 */
@NoArgsConstructor
@Data
public class PdModelResp {


    @JsonProperty("total")
    private Integer total;
    @JsonProperty("modelList")
    private List<ModelDTO> modelList;

    @NoArgsConstructor
    @Data
    public static class ModelDTO {
        @JsonProperty("modelName")
        private String modelName;
        @JsonProperty("supplierId")
        private Long supplierId;
        @JsonProperty("clothesModel")
        private ClothesModelDTO clothesModel;
        @JsonProperty("canEdit")
        private Boolean canEdit;
        @JsonProperty("shoeModel")
        private ShoeModelDTO shoeModel;
        @JsonProperty("modelType")
        private Integer modelType;
        @JsonProperty("id")
        private Long id;
        @JsonProperty("headPortrait")
        private String headPortrait;

        @NoArgsConstructor
        @Data
        public static class ClothesModelDTO {
            @JsonProperty("hipline")
            private String hipline;
            @JsonProperty("bust")
            private String bust;
            @JsonProperty("waist")
            private String waist;
            @JsonProperty("height")
            private String height;
        }
        @NoArgsConstructor
        @Data
        public static class ShoeModelDTO {
            @JsonProperty("hipline")
            private String footLength;
            @JsonProperty("bust")
            private String footWidth;
        }
    }
}
